package com.youlu.campus.entity.statistics;

import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

@Getter
@Setter
@Document(collection = "page_element")
public class PageElement extends EntityBase {

    @Indexed(unique = true)
    private String key;

    /**
     * 页面名称描述
     */
    private String name;
}
